home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 701 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: lyra.csx.cam.ac.uk!nmm1
  2. From: nmm1@cus.cam.ac.uk (Nick Maclaren)
  3. Newsgroups: comp.std.c
  4. Subject: Re: EXIT_SUCCES != EXIT_FAILURE?
  5. Date: 5 Apr 1996 19:40:52 GMT
  6. Organization: University of Cambridge, England
  7. Message-ID: <4k3t04$ju0@lyra.csx.cam.ac.uk>
  8. References: <tompa.827763954@news> <4j7p4p$4n8@castle.nando.net>  <4jdr0l$ddn@lyra.csx.cam.ac.uk> <KANZE.96Mar29122705@gabi.gabi-soft.fr>
  9. NNTP-Posting-Host: ursa.cus.cam.ac.uk
  10.  
  11. In article <KANZE.96Mar29122705@gabi.gabi-soft.fr>, kanze@gabi-soft.fr (J. Kanze) writes:
  12. |> In article <4jdr0l$ddn@lyra.csx.cam.ac.uk> nmm1@cus.cam.ac.uk (Nick
  13. |> Maclaren) writes:
  14. |> 
  15. |>     [...]
  16. |> |> To put things in context, do you expect all students to write code
  17. |> |> assuming the compilation and execution environments differ in their
  18. |> |> character sets and both fixed- and floating-point arithmetic?
  19. |> 
  20. |> Yes.  Can you show me an example of good coding practice where this
  21. |> would make a difference?  (And if your not teaching your students good
  22. |> coding practice, you shouldn't be teaching them, period.)
  23.  
  24. Try using complex text handling, manipulating externally-defined
  25. data structures, writing special function libraries or using
  26. radically different systems for the different translation phases.
  27. I agree that these tasks are way beyond the ability of most students
  28. (and even most experienced programmers).
  29.  
  30. Actually, have you ever pre-processed the code of a compiler on an
  31. ASCII machine for compilation on an EBCDIC one, or vice versa?  I
  32. suspect that you underestimate the difficulties.
  33.  
  34.  
  35. Nick Maclaren,
  36. University of Cambridge Computer Laboratory,
  37. New Museums Site, Pembroke Street, Cambridge CB2 3QG, England.
  38. Email:  nmm1@cam.ac.uk
  39. Tel.:  +44 1223 334761    Fax:  +44 1223 334679
  40.